#!/bin/bash

if [ "$1" = "curl without permission" ]; then
    curl -X GET \
        'http://localhost:8888/case_/getCase_structList?page=1&pageSize=10' \
    
    # 在这里执行启动服务的命令
elif [ "$1" = "stop" ]; then
    echo "Stopping service..."
    # 在这里执行停止服务的命令
elif [ "$1" = "restart" ]; then
    echo "Restarting service..."
    # 在这里执行重启服务的命令
else
    echo "Usage: $0 {start|stop|restart}"
    exit 1
fi